replace
ng
If called, all changes to $location during current $digest will be replacing current history record, instead of adding new one.
$digest